﻿using App29.Common;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using Windows.UI;

namespace App29.ViewModels
{
    class MainPageViewModel : BindableBase
    {
        public MainPageViewModel()
        {
            this.Colors.Add(new Models.Spacer { });
            this.Colors.Add(new Models.ColorInfo { Name = "Red", Color = Windows.UI.Colors.Red });
            this.Colors.Add(new Models.ColorInfo { Name = "Yellow", Color = Windows.UI.Colors.Yellow });
            this.Colors.Add(new Models.ColorInfo { Name = "Blue", Color = Windows.UI.Colors.Blue });
            this.Colors.Add(new Models.ColorInfo { Name = "Green", Color = Windows.UI.Colors.Green });
            this.Colors.Add(new Models.ColorInfo { Name = "Purple", Color = Windows.UI.Colors.Purple });
            this.Colors.Add(new Models.Spacer { });
        }

        ObservableCollection<object> _Colors = new ObservableCollection<object>();
        public ObservableCollection<object> Colors { get { return _Colors; } }
    }
}
